package cn.ainit.fx.jh.entity;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="FX_JH_ITEM")
public class FxJhItem  implements java.io.Serializable {

	private static final long serialVersionUID = 761727671517730094L;
	
	 private String jhItemId;
	 private String jhId;
     private String stockId;
     private String spId;
     private String spUnit;
     private Double spAmount;
     private Double spRealPrice;
     private Double taxRate;
     private Double taxMoney;
     private String spDiscount;
     private String sourceId;
     private Double spPrice;
     private String memo;
     private Double realMoneyItem;
     private Double totalMoneyItme;
     private Double spAmountMistake;
     
     private String sourceItemId;



    /** default constructor */
    public FxJhItem() {
    }

	/** minimal constructor */
    public FxJhItem(String jhItemId) {
        this.jhItemId = jhItemId;
    }
    
    @Id 
    @Column(name="JH_ITEM_ID", unique=true)
    public String getJhItemId() {
        return this.jhItemId;
    }
    
    public void setJhItemId(String jhItemId) {
        this.jhItemId = jhItemId;
    }
    
    @Column(name="JH_ID")
    public String getJhId() {
		return jhId;
	}
    public void setJhId(String jhId) {
		this.jhId = jhId;
	}
    
    @Column(name="STOCK_ID", length=32)

    public String getStockId() {
        return this.stockId;
    }
    
    public void setStockId(String stockId) {
        this.stockId = stockId;
    }
    
    @Column(name="SP_ID", length=32)

    public String getSpId() {
        return this.spId;
    }
    
    public void setSpId(String spId) {
        this.spId = spId;
    }
    
    @Column(name="SP_UNIT", length=32)

    public String getSpUnit() {
        return this.spUnit;
    }
    
    public void setSpUnit(String spUnit) {
        this.spUnit = spUnit;
    }
    
    @Column(name="SP_AMOUNT")
    public Double getSpAmount() {
		return spAmount;
	}
    
    public void setSpAmount(Double spAmount) {
		this.spAmount = spAmount;
	}
    
    @Column(name="SP_REAL_PRICE")

    public Double getSpRealPrice() {
		return spRealPrice;
	}
    public void setSpRealPrice(Double spRealPrice) {
		this.spRealPrice = spRealPrice;
	}
    
    @Column(name="TAX_RATE")
    public Double getTaxRate() {
		return taxRate;
	}
    public void setTaxRate(Double taxRate) {
		this.taxRate = taxRate;
	}
    
    @Column(name="TAX_MONEY")
    public Double getTaxMoney() {
		return taxMoney;
	}
    
    public void setTaxMoney(Double taxMoney) {
		this.taxMoney = taxMoney;
	}
    
    @Column(name="SP_DISCOUNT", length=32)

    public String getSpDiscount() {
        return this.spDiscount;
    }
    
    public void setSpDiscount(String spDiscount) {
        this.spDiscount = spDiscount;
    }
    
    @Column(name="SOURCE_ID", length=32)

    public String getSourceId() {
        return this.sourceId;
    }
    
    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }
    
    @Column(name="SP_PRICE")
    public Double getSpPrice() {
		return spPrice;
	}
    public void setSpPrice(Double spPrice) {
		this.spPrice = spPrice;
	}
    
    @Column(name="MEMO", length=500)

    public String getMemo() {
        return this.memo;
    }
    
    public void setMemo(String memo) {
        this.memo = memo;
    }
    
    @Column(name="REAL_MONEY_ITEM")
    public Double getRealMoneyItem() {
		return realMoneyItem;
	}
    public void setRealMoneyItem(Double realMoneyItem) {
		this.realMoneyItem = realMoneyItem;
	}
    
    @Column(name="TOTAL_MONEY_ITME")
    public Double getTotalMoneyItme() {
		return totalMoneyItme;
	}
    public void setTotalMoneyItme(Double totalMoneyItme) {
		this.totalMoneyItme = totalMoneyItme;
	}
    
    @Column(name="SP_AMOUNT_MISTAKE")
    public Double getSpAmountMistake() {
		return spAmountMistake;
	}
    public void setSpAmountMistake(Double spAmountMistake) {
		this.spAmountMistake = spAmountMistake;
	}
    
     
    @Column(name="SOURCE_ITEM_ID")
	public String getSourceItemId() {
		return sourceItemId;
	}

	public void setSourceItemId(String sourceItemId) {
		this.sourceItemId = sourceItemId;
	}







}